package com.bifang.module.file.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class FileLogVO implements Serializable {
    @Schema(title = "文件日志id")
    private BigDecimal fileLogId;

    @Schema(title = "文件分类")
    private String fileClassCode;

    @Schema(title = "文件请求类型 upload 上传 download 下载 ")
    private String fileReqType;

    @Schema(title = "文件名称")
    private String fileName;

    @Schema(title = "请求应用id")
    private Long appId;

    @Schema(title = "请求人")
    private String name;

    @Schema(title = "请求人id")
    private String userId;

    @Schema(title = "请求时间")
    private Date reqTime;

    @Schema(title = "应用名称")
    private String appName;

    @Schema(title = "文件id")
    private BigDecimal fileId;

    @Schema(title = "请求ip")
    private String reqIp;

    @Schema(title = "成功标志")
    private Integer code;

    @Schema(title = "错误原因")
    private String message;

    @Schema(title = "公司id")
    private String orgId;

    @Schema(title = "开始时间")
    private Date begTime;

    @Schema(title = "结束时间")
    private Date endTime;

    @Schema(title = "耗时 秒")
    private BigDecimal takingTime;

    @Schema(title = "年月")
    private Integer ym;
}
